package org.minbox.framework.command.execute.shell;

import java.util.List;

/**
 * shell execution build class
 *
 * @author 恒宇少年
 * @see AbstractShell
 * @see CmdShell
 * @see MacShell
 * @see LinuxShell
 */
public interface Shell {
    /**
     * get command execution script for current operating system
     * automatically obtain the shell for executing commands based on os.name
     *
     * @return Return shell command
     */
    String getShellCommand();

    /**
     * get list of arguments executed by the shell
     *
     * @return Return shell args
     */
    List<String> getShellArgs();
}
